﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace SDF.Primitives
{
    public static class GridLengthHelper
    {
        public static GridLength Convert(double value)
        {
            if (double.IsNaN(value))
                return GridLength.Auto;
            else
                return new GridLength(value);
        }
    }
}
